<%-- 
    Document   : sampleTest
    Created on : 15 mars 2009, 12:01:54
    Author     : Keouirak
--%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" import="net.fckeditor.*" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>FCKeditor - RDFa Sample</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="robots" content="noindex, nofollow" />
        <link href="../sample.css" rel="stylesheet" type="text/css" />
        <link rel="shortcut icon" href="../fckeditor.gif"
              type="image/x-icon" />
        <script src="/FckEditor/fckeditor/editor/js/jquery-1.3.2.min.js" type="text/javascript"></script>
        <script src="/FckEditor/fckeditor/editor/js/jquery.uri.js" type="text/javascript"></script>
        <script src="/FckEditor/fckeditor/editor/js/jquery.xmlns.js" type="text/javascript"></script>
        <script src="/FckEditor/fckeditor/editor/js/jquery.curie.js" type="text/javascript"></script>
        <script src="/FckEditor/fckeditor/editor/js/jquery.datatype.js" type="text/javascript"></script>
        <script src="/FckEditor/fckeditor/editor/js/jquery.rdf.js" type="text/javascript"></script>
        <script src="/FckEditor/fckeditor/editor/js/jquery.rdfa.js" type="text/javascript"></script>
        <script type="text/javascript">
            function FCKeditor_OnComplete(editorInstance) {
                window.status = editorInstance.Description;
            }
        </script>
    </head>
    <%
            FCKeditor fckEditor = new FCKeditor(request, "EditorDefault");
    %>
    <body>
        <h1>RDFa fckEditor!!!</h1>
        <form action="sampleposteddata.jsp" method="post" target="_blank">
            <FCK:editor instanceName="EditorDefault" toolbarSet="RdfToolbar">
                <jsp:attribute name="value">This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net">FCKeditor</a> with the RDFa Plugin.
                    <p>Du texte à sélectionner dans la page</p>
                </jsp:attribute>
                <jsp:body>
                    <FCK:config CustomConfigurationsPath="${pageContext.request.contextPath}/jsp/sampleRdfa.config.js" />
                </jsp:body>
            </FCK:editor>
            <br />
        <input type="submit" value="Submit" /></form>
    </body>
</html>
